home *** CD-ROM | disk | FTP | other *** search
/ Programming a Multiplayer FPS in DirectX / Programming a Multiplayer FPS in DirectX (Companion CD).iso / DirectX / dxsdk_oct2004.exe / dxsdk.exe / Samples / Managed / Direct3D / EmptyProject / EmptyProject.fx < prev    next >
Encoding:
Text File  |  2004-09-27  |  957 b   |  27 lines

  1. //--------------------------------------------------------------------------------------
  2. // File: EmptyProject.fx
  3. //
  4. // The effect file for the EmptyProject sample.  
  5. // 
  6. // Copyright (c) Microsoft Corporation. All rights reserved.
  7. //--------------------------------------------------------------------------------------
  8.  
  9.  
  10. //--------------------------------------------------------------------------------------
  11. // Global variables
  12. //--------------------------------------------------------------------------------------
  13. float appTime;  //App's time in seconds
  14. float4x4 worldMatrix;  // World matrix for object
  15. float4x4 worldViewProjection;    // World * View * Projection matrix
  16.  
  17.  
  18. //--------------------------------------------------------------------------------------
  19. // Techniques
  20. //--------------------------------------------------------------------------------------
  21. technique RenderScene
  22. {
  23.     pass P0
  24.     {          
  25.     }
  26. }
  27.